package com.lemon.exam.service;

import com.lemon.exam.common.web.Param;
import com.lemon.exam.entity.dto.LoggingDTO;
import com.lemon.exam.entity.po.LoggingPO;
import org.springframework.data.domain.Page;
import org.springframework.http.server.reactive.ServerHttpResponse;
import org.springframework.web.bind.annotation.RequestBody;
import reactor.core.publisher.Mono;

/**
 * 日志 接口对象
 *
 * @author Lemon
 * @since 2025/4/25 11:58
 */
public interface ILoggingService {
    Mono<Void> insert(LoggingPO loggingPO);

    Mono<LoggingPO> findById(Long id);

    Mono<Page<LoggingPO>> page(Param param);

    Mono<Void> export(Param param, ServerHttpResponse response);
}
